import request from '../utils/Request'

export function apiGetIndexProducts(params) {
  return request.fetch({
    url: 'product/product',
    method: 'GET',
    params: params,
  })
}

export function apiGetCategoryProduct(params) {
  return request.fetch({
    url: 'category/info',
    method: 'GET',
    params: params,
  })
}

export function apiGetProductInfo(params) {
  return request.fetch({
    url: 'product/productInfo',
    method: 'GET',
    params: params,
  })
}
